package com.mida.bms.report.process;


import com.mida.bms.report.entity.DocStructReport;
import com.mida.bms.report.vo.ReportSearchRequest;

import javax.servlet.http.HttpServletResponse;

public interface DocReportPdfProcess {

    /**
     * 根据报告soid、以及状态和就诊场景，追加相关水印 获取文件流
     * @param request
     * @param httpServletResponse
     */
    void gainReportPdf(ReportSearchRequest request,
                       HttpServletResponse httpServletResponse);

    /**
     * 根据报告soid、返回报告
     * @param request
     * @return
     */
    DocStructReport gainDocReportByStReportSoid(ReportSearchRequest request) throws Exception;

    /**
     * 根据报告soid, 返回url
     * @param request
     * @return
     * @throws Exception
     */
    String gainReportPdfByStReportSoid(ReportSearchRequest request) throws Exception;
}
